package linda.server;


import java.rmi.RemoteException;

import linda.Callback;
import linda.Tuple;
import linda.Linda.eventMode;
import linda.Linda.eventTiming;

public interface InterfaceServer extends java.rmi.Remote{
	enum method {WRITE, TAKE, READ, TRYTAKE, TRYREAD, TAKEALL, READALL};
	
	public Object DoWork (method m, Tuple tuple) throws RemoteException;
	
    public void DoCallBack(eventMode mode, eventTiming timing, Tuple template, InterfaceRemoteCallback c) throws RemoteException;
}
